package Demo2.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author oldliu
 * @since 1.0
 */
public class ExamResult implements Serializable {
    private long id,stId,sbId;
    private Date examDate;
    private float score;
    private Student stu;//

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public Student getStu() {
        return stu;
    }

    public void setStu(Student stu) {
        this.stu = stu;
    }
    public long getStId() {
        return stId;
    }

    public void setStId(long stId) {
        this.stId = stId;
    }

    public long getSbId() {
        return sbId;
    }

    public void setSbId(long sbId) {
        this.sbId = sbId;
    }

    public Date getExamDate() {
        return examDate;
    }

    public void setExamDate(Date examDate) {
        this.examDate = examDate;
    }

    public float getScore() {
        return score;
    }

    public void setScore(float score) {
        this.score = score;
    }

    @Override
    public String toString() {
        return "ExamResult{" +
                "id=" + id +
                ", stId=" + stId +
                ", sbId=" + sbId +
                ", examDate=" + examDate +
                ", score=" + score +
                '}';
    }
}
